/*
    字符转ASCII码
*/
#include<stdio.h>

int main(int argc, char const *argv[])
{
    char c;
    printf("请输入一个字符: ");
    scanf("%c",&c);
    printf("%c的ASCII码是%d\n",c,c);
    return 0;
}
